<template>
  <div>
    <van-cell :title="setName">
      <template #right-icon>
        <van-button size="small" round class="setbtn" @click="onSubmit">{{$t('Save')}}</van-button>
      </template>
    </van-cell>
  </div>
</template>

<script>

export default {
  props:['setName','valName','subOption'],
  data(){
    return {
      max:45,
      setValue_parent:this.setValue,
    }
  },
  methods: {
    onSubmit(){
      let formData={
        'subOption':this.subOption,
        'Value':1
      };
      this.comm.setData('newParaSetting',formData);
    }
  }
}
</script>

<style scoped lang="less">

</style>